import Link from "next/link";

export default function HomePage() {
  return (
    <section className="flex flex-col items-center justify-center gap-6 px-6 py-16 text-center">
      <div className="mx-auto max-w-xl space-y-4">
        <span className="inline-flex rounded-full bg-primary/10 px-3 py-1 text-xs font-semibold text-primary">
          MVP 进行中
        </span>
        <h1 className="text-3xl font-semibold tracking-tight sm:text-4xl">
          欢迎来到 Business Overview
        </h1>
        <p className="text-muted-foreground">
          当前版本提供基础框架。接下来将实现登录流程、日报上报、排产视图与仪表盘。请先确认后端 API
          运行正常。
        </p>
        <div className="mt-6 flex flex-wrap items-center justify-center gap-3">
          <Link
            href="/auth/login"
            className="inline-flex items-center rounded-md bg-primary px-5 py-2 text-sm font-medium text-primary-foreground shadow transition hover:bg-primary/90"
          >
            登录入口
          </Link>
          <a
            href="https://github.com/"
            target="_blank"
            rel="noreferrer"
            className="inline-flex items-center rounded-md border border-border px-5 py-2 text-sm font-medium text-foreground transition hover:bg-accent"
          >
            查看文档
          </a>
        </div>
      </div>
    </section>
  );
}
